﻿using UnityEngine;
using System.Collections;

public class BossDifficultyManager : DifficultyManager
{
    public string ScriptsAffected = "BossCanTakeDamage";
    public DifficultyComponent Health;
    public DifficultyComponent CurrencyDrop;
    public DifficultyComponent BulletDamageDealt;

    public void AddPercentage(int baseNum, float percent, out int result)
    {
        result = Mathf.FloorToInt(baseNum * (percent / 100)) + baseNum;
    }

    public void AddPercentage(float baseNum, float percent, out float result)
    {
        result = baseNum * (percent / 100) + baseNum;
    }

    public void Add(int add1, float add2, out int result)
    {
        result = Mathf.FloorToInt((float)add1 + add2);
    }

    public void Add(float add1, float add2, out float result)
    {
        result = add1 + add2;
    }
}
